#include "priority_queue.h"


void test()
{
	pq p;
	IintQueue(&p);
	Priority_Queue_Push(&p, 3);
	Priority_Queue_Push(&p, 4);
	Priority_Queue_Push(&p, 5);
	Priority_Queue_Push(&p, 2);
	int t = Priority_Queue_Top(&p);
	int t1 = Priority_Queue_Size(&p);
	Priority_Queue_Pop(&p);
	printf("%d %d\n", t,t1);
	 t = Priority_Queue_Top(&p);
	t1 = Priority_Queue_Size(&p);
	Priority_Queue_Pop(&p);
	printf("%d %d\n", t, t1);
//t = Priority_Queue_Top(&p);
//	t1 = Priority_Queue_Size(&p);
//	Priority_Queue_Pop(&p);
//	printf("%d %d\n", t, t1);
//	t = Priority_Queue_Top(&p);
//	t1 = Priority_Queue_Size(&p);
//	Priority_Queue_Pop(&p);
//	printf("%d %d\n", t, t1);
//	t = Priority_Queue_Top(&p);
//	t1 = Priority_Queue_Size(&p);
//	Priority_Queue_Pop(&p);
//	printf("%d %d\n", t, t1);
}


int main()
{
	test();
	return 0;
}